home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 November / Macworld (1999-11).dmg / Updaters / WhiteCap 3.0.4 / WhiteCap Source.sit / WhiteCap Source / Headers / WC_WaveShape.h < prev    next >
C/C++ Source or Header  |  1999-08-15  |  2KB  |  72 lines

  1. #pragma once
  2.  
  3. #include "Expression.h"
  4. #include "ExprArray.h"
  5.  
  6.  
  7. class ArgList;
  8.  
  9. #if EG_MAC
  10. #include <QuickDraw.h>
  11. #endif
  12.  
  13.  
  14. /* This is all rediculously undocumented, so email me if u have questions. */
  15.  
  16. class WC_WaveShape  {
  17.  
  18.     public:
  19.                         WC_WaveShape();
  20.     
  21.         void            Assign( const ArgList& inArgs, ExpressionDict& ioDict );
  22.         
  23.         void            SetScaleToFit( long inWidth, long inHeight );
  24.         
  25.         void            SetupTransition( WC_WaveShape* inDest, float* inTLink );
  26.         
  27.         void            EvalCamera();
  28.         
  29.         void            SetupFrame( WC_WaveShape* inDest, float inW );
  30.             
  31.         
  32.         long            mSampleDuration, mSampleDurationOrig;
  33.         long            mSampleDelay, mSampleDelayOrig;
  34.         float            mFalloff, mFalloffOrig;
  35.         int                mNumBlurs, mNumBlursOrig;
  36.         int                mBlurVal, mBlurValOrig;
  37.         float            mXYScale, mConfigScale, mXYScaleOrig;
  38.         float            mPerspectiveInt, mPerspectiveIntOrig;
  39.         bool            mConnectBins, mConnectBinsOrig;
  40.         bool            mConnectSamples, mConnectSamplesOrig;
  41.         bool            mConnectFirstLast, mConnectFirstLastOrig;
  42.         bool            mCanIncreaseScale;
  43.         float            mPrefWidth, mPrefHeight;
  44.         UtilStr            mTitle;
  45.  
  46.         Expression        mCamX, mCamY, mCamZ;
  47.         Expression        mCamLX, mCamLY, mCamLZ;
  48.         Expression        mCamUpX, mCamUpY, mCamUpZ;
  49.         Expression        mLineWidth;
  50.         bool            mX_Dep_S, mY_Dep_S, mZ_Dep_S;
  51.         bool            mR_Dep_S, mG_Dep_S, mB_Dep_S;
  52.         
  53.         Expression        mX, mY, mZ;
  54.         Expression        mR, mG, mB;
  55.         ExprArray        mD_Var, mC_Var, mB_Var, mA_Var;
  56.         Expression        mLvlR, mLvlG, mLvlB;
  57.         Expression        mBackR, mBackG, mBackB;
  58.  
  59.         long            mNum_S_Steps, mNum_S_StepsOrig;
  60.         
  61.     protected:
  62.  
  63. };
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.